package com.b2bpsssm.service;

import com.b2bpsssm.common.R;
import com.b2bpsssm.pojo.Other_Expenses;

public interface OtherExpensesService {

    /**
     * 查询 带分页
     * @param currentPage
     * @param pageSize
     * @return
     */
    R queryOtherExpensesList(Integer currentPage, Integer pageSize);




    /**
     * 以其他支出为关键字 时间范围 进行关键字查询
     * @param currentPage
     * @param pageSize
     * @param other_expense_creation_time1
     * @param other_expense_creation_time2
     * @param other_expense_payment_type
     * @return
     */
   R selOtherExpensesLikeType(Integer currentPage, Integer pageSize, String other_expense_creation_time1, String other_expense_creation_time2, String other_expense_payment_type);

    /**
     * 新增其他支出
     * @param other_expenses
     * @return
     */
    R addOtherExpenses(Other_Expenses other_expenses);
    /**
     * 修改信息
     * @param other_expenses
     * @return
     */
    R updateOtherExpenses(Other_Expenses other_expenses);

    /**
     * 根据编号 删除
     * @param other_expense_bills
     * @return
     */
    R delOtherExpensesByNumber(Other_Expenses other_expense_bills);
}
